package com.shb.model;

import java.io.Serializable;

import droid.frame.utils.sqlite.annotation.Column;

/**
 * 订单支付
 * 
 * @author coffee<br>
 *         2015-5-4上午11:37:11
 */
public class OrderPayBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5166607759541805646L;

	private String sign;
	private String timestamp;
	private String noncestr;
	private String prepayid;
	@Column(name = "package")
	private String packageValue;
	private String partnerid;//WXConfig.MCH_ID
	private String appid;//WXConfig.APP_ID

	public OrderPayBean(){
		
	}
	
	public OrderPayBean(WxPayModel model) {
		if (model == null) {
			return;
		}
		this.sign = model.getSign();
		this.timestamp = model.getTimeStamp();
		this.noncestr = model.getNonceStr();
		this.prepayid = model.getPrepayId();
		this.packageValue = model.getPackageValue();
		this.partnerid = model.getPartnerId();
		this.appid = model.getAppId();
	}

	//
	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String getNoncestr() {
		return noncestr;
	}

	public void setNoncestr(String noncestr) {
		this.noncestr = noncestr;
	}

	public String getPrepayid() {
		return prepayid;
	}

	public void setPrepayid(String prepayid) {
		this.prepayid = prepayid;
	}

	public String getPackageValue() {
		return packageValue;
	}

	public void setPackageValue(String packageValue) {
		this.packageValue = packageValue;
	}

	public String getPartnerid() {
		return partnerid;
	}

	public void setPartnerid(String partnerid) {
		this.partnerid = partnerid;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}
